<?php
require_once("../common/config.php");
$conn = new connectDb();

$eatWhat = $_POST['eatWhat']; 
$query = mysql_query("SELECT `ch_name` FROM `food_basic` WHERE `ch_name` like '%$eatWhat%' limit 0,10") or die (mysql_error());
while($row = mysql_fetch_array($query))
{
	echo "<li>$row[ch_name]</li>";
}

	

?>